#if !defined(AFX_MEGALISTBOX_H__7AF4FB14_14A6_4528_9414_950E3005023B__INCLUDED_)
#define AFX_MEGALISTBOX_H__7AF4FB14_14A6_4528_9414_950E3005023B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MegaListBox.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMegaListBox window
#include "MegaBitmap.h"

class CMegaListBox : public CListBox
{
// Construction
public:
	CMegaListBox();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMegaListBox)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
	virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetBitmaps(UINT uiSelected, UINT uiUnselected);
	virtual ~CMegaListBox();

	void SetBackColor(COLORREF crBack);
	void SetBackColor2(COLORREF crBack2);
	void SetColors(COLORREF crBack, COLORREF crText, COLORREF crSel, COLORREF crSelText);

	// Generated message map functions
protected:
	//{{AFX_MSG(CMegaListBox)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()

	CMegaBitmap *m_pSelectedIcon, *m_pUnselectedIcon;
	COLORREF m_crBack;
	COLORREF m_crBack2;
	COLORREF m_crText;
	COLORREF m_crSel;
	COLORREF m_crSelText;
	BOOL m_bBack2;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MEGALISTBOX_H__7AF4FB14_14A6_4528_9414_950E3005023B__INCLUDED_)
